package org.paradise.pojo;

import java.util.Objects;

public class Equippm {
    private Integer id;
    private Integer equipId;
    private String pmname;
    private String pmval;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEquipId() {
        return equipId;
    }

    public void setEquipId(Integer equipId) {
        this.equipId = equipId;
    }

    public String getPmname() {
        return pmname;
    }

    public void setPmname(String pmname) {
        this.pmname = pmname;
    }

    public String getPmval() {
        return pmval;
    }

    public void setPmval(String pmval) {
        this.pmval = pmval;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Equippm equippm = (Equippm) o;
        return Objects.equals(id, equippm.id) &&
                Objects.equals(equipId, equippm.equipId) &&
                Objects.equals(pmname, equippm.pmname) &&
                Objects.equals(pmval, equippm.pmval);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, equipId, pmname, pmval);
    }
}
